﻿@model erpIngesup.Areas.Eleve.Models.PROJET

@{
    ViewBag.Title = "DetailsProject";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>DetailsProject</h2>

<fieldset>
    <legend>PROJET</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.DATE_DBT_PROJ)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DATE_DBT_PROJ)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.DATE_FIN_PROJET)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DATE_FIN_PROJET)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.DESC_PROJET)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DESC_PROJET)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.TITRE_PROJET)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.TITRE_PROJET)
    </div>
</fieldset>
<div>
    @foreach (var item in Model.GROUPE)
    {
        @Html.ActionLink(item.LIBGROUPE + " (" + item.ELEVE.Count + " inscrit(s) )", "DetailsGroupe", new { idGroupe = item.IDGROUPE, idProject = Model.IDPROJET })
    }
</div>
<p>
    @Html.ActionLink("Ajouter un groupe", "AddGroup", new { idProjet = Model.IDPROJET }) |
    @Html.ActionLink("Back to List", "Details", new { module = Model.MODULE.LIB_MOD })
</p>
